// 管理服务费
export const ServiceOptions = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  searchBtnText: "查询",
  emptyBtnText: "重置",
  editBtn: false,
  delBtn: false,
  align: "center",
  viewBtn: false,
  addBtn: false,
  columnBtn: false,
  searchLabelWidth: 80,
  dialogEscape: false,
  dialogClickModal: false,
  menuWidth: 140,
  menu: false,
  column: [
    {
      label: "派出所房号/房号",
      prop: "ctContractProject"
    },
    {
      label: "公司名称",
      search: true,
      prop: "companyName"
    },
    {
      label: "客户姓名",
      prop: "userName"
    },
    {
      label: "联系电话",
      prop: "advertisingCount",
      hide: true
    },
    {
      label: "服务期限(起)",
      prop: "rentStartTime"
    },
    {
      label: "服务期限(止)",
      prop: "rentEndTime"
    },
    {
      label: "面积(㎡)",
      prop: "projectArea",
      formatter: function(row, value, label, column) {
        if (value || value == 0) {
          return parseFloat(value).toFixed(2);
        } else {
          return value;
        }
      }
    },
    {
      label: "市场管理费单价(元/㎡/月)",
      prop: "unitPriceId"
    },
    {
      label: "市场管理费总额(年/元)",
      prop: "totalAmount"
    },
    {
      label: "签约时间",
      prop: "signDate"
    },
    {
      label: "备注",
      prop: "remaks"
    }
  ]
};

// 增值服务费
export const IncrementOptions = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  searchBtnText: "查询",
  emptyBtnText: "重置",
  editBtn: false,
  delBtn: false,
  align: "center",
  viewBtn: false,
  dialogEscape: false,
  dialogClickModal: false,
  addBtn: false,
  columnBtn: false,
  searchLabelWidth: 80,
  menuWidth: 140,
  menu: false,
  column: [
    {
      prop: "advertisingType",
      type: "select",
      search: true,
      searchslot: true,
      hide: true,
      label: "类型"
    },
    {
      label: "派出所房号/房号",
      prop: "signDate"
    },
    {
      label: "公司名称",
      search: true,
      prop: "companyName"
    },
    {
      label: "客户姓名",
      prop: "advertisingLocation"
    },
    {
      label: "联系电话",
      prop: "advertisingCount",
      hide: true
    },
    {
      label: "服务项",
      prop: "rentStartTime"
    },
    {
      label: "服务时间",
      prop: "rentEndTime"
    },
    {
      label: "金额",
      prop: ""
    },
    {
      label: "备注",
      prop: ""
    }
  ]
};

// 临停Temporary stop
export const TemporaryStopOptions = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  searchBtnText: "查询",
  emptyBtnText: "重置",
  editBtn: false,
  dialogEscape: false,
  dialogClickModal: false,
  delBtn: false,
  align: "center",
  viewBtn: false,
  addBtn: false,
  columnBtn: false,
  searchLabelWidth: 80,
  menuWidth: 140,
  menu: false,
  column: [
    {
      prop: "advertisingType",
      type: "select",
      search: true,
      searchslot: true,
      hide: true,
      label: "类型"
    },
    {
      label: "房号",
      prop: "signDate"
    },
    {
      label: "公司名称",
      search: true,
      prop: "companyName"
    },
    {
      label: "客户姓名",
      prop: "advertisingLocation"
    },
    {
      label: "联系电话",
      prop: "advertisingCount",
      hide: true
    },
    {
      label: "进场时间",
      prop: "rentStartTime"
    },
    {
      label: "出场时间",
      prop: "rentEndTime"
    },
    {
      label: "单价(元/天/车)",
      prop: ""
    },
    {
      label: "总额",
      prop: ""
    },
    {
      label: "备注",
      prop: ""
    },
    {
      label: "外检场",
      prop: ""
    }
  ]
};

// 其他费用台账
export const otherOptions = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "center",
  searchMenuSpan: 6,
  searchBtnText: "查询",
  emptyBtnText: "重置",
  editBtn: false,
  delBtn: false,
  align: "center",
  viewBtn: false,
  dialogEscape: false,
  dialogClickModal: false,
  addBtn: false,
  columnBtn: false,
  searchLabelWidth: 80,
  menuWidth: 140,
  menu: false,
  column: [
    {
      prop: "type",
      type: "select",
      search: true,
      searchslot: true,
      hide: true,
      label: "类型"
    },
    {
      label: "房号",
      prop: "ctContractProject"
    },
    {
      label: "公司名称",
      search: true,
      prop: "companyName"
    },
    {
      label: "客户姓名",
      prop: "userName"
    },
    {
      label: "联系电话",
      prop: "contactUserPhone",
      hide: true
    },
    {
      label: "费用类型",
      prop: "costType",
      slot: true
    },
    {
      label: "缴费时间",
      prop: "paymentTime"
    },
    {
      label: "总额",
      prop: "totalAmount"
    },
    {
      label: "备注",
      prop: "remark"
    }
  ]
};
